package cn.DesignModel.simpleFactory;

/**
 * @author: lizemin
 * @version: 1.0
 */
public class BirthdayCake implements CakeFactory {
    public BirthdayCake() {
        //调用本对象的方法
        this.cake();
    }

    @Override
    public void cake() {
        System.out.println("做生日蛋糕啦！！！");
    }
}
